package com.softcits.email.quartz;

import java.util.List;

import org.quartz.CronScheduleBuilder;
import org.quartz.JobBuilder;
import org.quartz.JobDetail;
import org.quartz.Trigger;
import org.quartz.TriggerBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.softcits.email.controller.JobController;
import com.softcits.email.dao.JobDao;
import com.softcits.email.job.TestJob;

@Service
public class JobService {
    private final static Logger LOGGER = LoggerFactory.getLogger(JobService.class);
    @Autowired
    private JobDao jobDao;

    public void doTest() {
        LOGGER.debug("Service Method is invoked by Job....");
    }


    public List<QuartzBean> listQuartzBean(String name) {
        return jobDao.listQuartzBean(name);
    }
}
